/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.jm.jmsql.cloud.validation;

/**
 *
 * @author Marques
 */
public class RegularExpressions {
    
    // Match an email address
    public static final String EMAIL_ADDRESS = "^[-._A-Za-z0-9]+(\\\\\\\\\\\\\\\\.[_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\\\\\\\\\\\\\\\\.[A-Za-z0-9-]+)*(.[A-Za-z]{2,3})*(.[A-Za-z]{2,3})$";
    // Match a password
    public static final String PASSWORD = "^(?=.*[0-9])(?=.*[a-z])(?=.*[A-Z])(?=\\S+$).{8,32}$";
    
}
